<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/10 010
 * Time: 11:06
 */
namespace App\Duck;

class ModelDuck extends Duck {

    public function __construct()
    {
        $this->quackBehavior = new Quack();
        $this->flyBehavior = new FlyNoWay();
    }

    public function display()
    {
        // TODO: Implement display() method.
        echo("I'm a real model duck<br />");
    }

}